package com.dsprun.dspai.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "文本生成请求参数")
public class GenerationRequest {
    @Schema(description = "AI 提供商", example = "openai", allowableValues = {"openai", "ollama"})
    private String provider;

    @Schema(description = "模型名称", example = "gpt-3.5-turbo")
    private String model;

    @Schema(description = "生成提示", example = "写一篇关于人工智能的文章", required = true)
    private String prompt;

    @Schema(description = "生成温度(0-1)", example = "0.7")
    private float temperature = 0.7f;
}
